home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
-
- <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
-
- <intro>
- <p>Copyright Notice</p>
- <p>Common Business Library 2.0<br/>
- Copyright 1999 Commerce One, Inc.</p>
- <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
- and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
- and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p>
- </intro>
-
- <!--
- <![CDATA[
- A ReferenceCoded identifies another document. It extends
- Reference by supplying a code for the meaning of the Reference.
-
- When the meaning of the reference is known at document
- definition time, an element of type="Reference" is typically
- used. For example:
-
- <element type="Reference" name="ContractID"/>
-
- is clearly a Reference to a Contract.
-
- When the meaning of the reference is not known at document
- definition time, a ReferenceTyped may be used instead of
- a Reference to further qualify it. For example:
-
- <element type="ReferenceCoded" name="OtherRef" occurs="?"/>
-
- may be used to refer to a document of any type.
- ]]>
- -->
-
- <datatype name="ReferenceCode">
- <enumeration datatype="NMTOKEN">
- <option>Other</option>
- <option>CustRefNum</option>
- <option>ContractNum</option>
- <option>PrevProdCat</option>
- <option>PriceListNum</option>
- <option>ProdInqNum</option>
- </enumeration>
- </datatype>
-
- <elementtype name="ReferenceCoded">
- <extends type="Reference">
- <append>
- <!-- The type of the item being referred to. / -->
- <element type="ReferenceCode" name="RefCode" />
-
- <!-- If RefCode is Other, the type of the item
- being referred to. / -->
- <element type="string" name="RefCodeOther" occurs="?" />
- </append>
- </extends>
- </elementtype>
-
- <elementtype name="ListOfReferenceCoded">
- <model>
- <element type="ReferenceCoded" occurs="+" />
- </model>
- </elementtype>
-
- </schema>
-